<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<body th:fragment="footer" >
	<div th:fragment="footer">
		<!-- footer_start -->
		<footer class="app-footer" style="padding:10px;line-height:20px">
			<div>
				<a href="https://coreui.io">CoreUI</a> <span>&copy; 2018 creativeLabs.</span>
			</div>
			<div class="ml-auto">
				<span>Powered by</span> <a href="https://coreui.io">CoreUI</a>
			</div>
		</footer>
		<!-- CoreUI and necessary plugins-->
		<script th:src="@{/asserts/vendors/jquery/js/jquery.min.js}"></script>
		<script th:src="@{/asserts/vendors/popper.js/js/popper.min.js}"></script>
		<script th:src="@{/asserts/vendors/bootstrap/js/bootstrap.min.js}"></script>
		<script th:src="@{/asserts/vendors/pace-progress/js/pace.min.js}"></script>
		<script th:src="@{/asserts/vendors/perfect-scrollbar/js/perfect-scrollbar.min.js}"></script>
		<script th:src="@{/asserts/vendors/@coreui/coreui/js/coreui.min.js}"></script>
		<!-- Plugins and scripts required by this view-->
		<!-- 
		<script src="vendors/chart.js/js/Chart.min.js"></script>
		 -->
		<script th:src="@{/asserts/vendors/@coreui/coreui-plugin-chartjs-custom-tooltips/js/custom-tooltips.min.js}"></script>
		
		<!-- menus -->
		<script th:src="@{/asserts/vendors/layer/layer.js}"></script>
		<script th:src="@{/asserts/js/global.js}"></script>
		<script th:src="@{/asserts/js/menus.js}"></script>
		
		 <script type="text/javascript">
			function setIframeHeight(iframe) {
				
				if (iframe) {
					var iframeWin = iframe.contentWindow || iframe.contentDocument.parentWindow;
					if (iframeWin.document.body) {
						// iframe.height = h ; // iframeWin.document.documentElement.scrollHeight || iframeWin.document.body.scrollHeight;
					
						iframe.height = iframeWin.document.body.scrollHeight<850?850:iframeWin.document.body.scrollHeight;
					}
				}
			};
		</script>
		<!-- footer_end -->
	</div>
</body>
</html>
